﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace LtccApi.Models
{
    /// <summary>
    /// 用户表
    /// </summary>
    [Table("bj_users")]
    public class User
    {
        /// <summary>
        /// ID
        /// </summary>
        [Column("id")]
        public int ID { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        [Column("phone")]
        public string Phone { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        [Column("nickname")]
        public string NickName { get; set; }

        /// <summary>
        /// 验证码
        /// </summary>
        [Column("code")]
        public string CheckCode { get; set; }

        /// <summary>
        /// 上次创建的时间
        /// </summary>
        [Column("last_time")]
        public string LastTime { get; set; }

        /// <summary>
        /// 验证账户的token值
        /// </summary>
        [Column("hash")]
        public string Token { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column("dz_user")]
        public string DzUser { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column("dz_user_id")]
        public int DzUserID { get; set; }
    }
}
